package com.atguigu.spzx.feign.user.fallback;


import com.atguigu.spzx.feign.user.UserAddressFeignClient;
import com.atguigu.spzx.model.entity.h5.UserAddress;
import org.springframework.stereotype.Component;

/**
 * @ClassName: UserAddressFeignClientFallback
 * @Package: com.atguigu.spzx.frign.user.fallback
 * @Description 降级方法
 * @Author 孤妤
 * @Date: 2023/12/20 21:05
 */
@Component
public class UserAddressFeignClientFallback implements UserAddressFeignClient {
    @Override
    public UserAddress findUserAddressById(Long id) {
        return new UserAddress();
    }
}
